package cn.iocoder.yudao.module.wine.controller.app.stockinfo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "用户 APP - 出入库信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class AppStockInfoRespVO {

    @Schema(description = "序列", requiredMode = Schema.RequiredMode.REQUIRED, example = "14370")
    @ExcelProperty("序列")
    private Long id;

    @Schema(description = "创建用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "426")
    @ExcelProperty("创建用户ID")
    private Long userId;

    @Schema(description = "存放仓库ID（store表主键）", requiredMode = Schema.RequiredMode.REQUIRED, example = "16682")
    @ExcelProperty("存放仓库ID（store表主键）")
    private Long storeId;

    @Schema(description = "操作类型：0--入库，1--出库", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("操作类型：0--入库，1--出库")
    private Integer operateType;

    @Schema(description = "供求信息ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "29291")
    @ExcelProperty("供求信息ID")
    private Long infoId;

    @Schema(description = "信息名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("信息名称")
    private String infoName;

    @Schema(description = "信息编码(无可不填)")
    @ExcelProperty("信息编码(无可不填)")
    private String infoSn;

    @Schema(description = "库存数量", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("库存数量")
    private Integer infoNums;

    @Schema(description = "信息条码(扫码条码)")
    @ExcelProperty("信息条码(扫码条码)")
    private String infoBn;

    @Schema(description = "信息备注")
    @ExcelProperty("信息备注")
    private String infoDesc;

    @Schema(description = "出库状态：0--新建出/入库单，1--允许出/入库，2--拒绝出/入库", example = "1")
    @ExcelProperty("出库状态：0--新建出/入库单，1--允许出/入库，2--拒绝出/入库")
    private Integer infoStatus;

    @Schema(description = "添加方式：0--手动出/入库，1--扫码导出/入，2--批量导出/入", example = "1")
    @ExcelProperty("添加方式：0--手动出/入库，1--扫码导出/入，2--批量导出/入")
    private Integer addType;

    @Schema(description = "扫描方式：0--正常扫描，1--重复扫描", example = "2")
    @ExcelProperty("扫描方式：0--正常扫描，1--重复扫描")
    private Integer scanStatus;

    @Schema(description = "关联订单编号(出库)", example = "26743")
    @ExcelProperty("关联订单编号(出库)")
    private Long orderId;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "公司", example = "公司")
    private String company;

    @Schema(description = "电话", example = "电话")
    private String mobile;

    @Schema(description = "用户名", example = "用户名")
    private String username;

}
